<template>
    <div chass='know'>
      <div class="box">
        <div class="btn" >
            
           <router-link to='/register-apply' ><el-button type="danger">业务申请</el-button></router-link>
        </div>
         <h2> 业务<span>商标注册申请</span>填写说明</h2>
        <ul class="img-list">
          <li v-for="(wp,index) in datas" :key='index'>
            <img :src="'http://192.168.0.102:8080'+wp.imgPath" alt="图片">
          </li>
        </ul>
      </div>
    </div>
</template>
 <script>
export default {
    name:'know',
    data(){
      return{
        datas:[]
      }
    },
  mounted(){
    let id = this.$route.params.id;
    id = 14;
    this.$http.post('http://192.168.0.102:8080/img/findImg',
    {
      class_id:id,
      file_model:1,
      model_id:id
    }
    ).then((result)=>{
      
      this.datas = result.data.data
      console.log( this.datas);
    })
  }
}
</script>
<style scoped lang="less">

.box{
  width: 100%;
  height: 100%;
  .btn{
    padding: 15px 20px;
    text-align: right;
    border-bottom: 1px solid #e7e8eb;
  }
  h2 {
    padding: 20px;
    
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    span{
      padding: 0 20px 10px;
    }
  }
  .img-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    li{
      padding: 20px 5% 0;
      width: 90%;
      height: 90%;
      img{
        width: 100%;
      }
    }
  }
}

</style>